/* 
 * File:   BooleanParameterMemento.h
 * Author: Gab'z
 *
 * Created on 29 mai 2012, 10:58
 */

#ifndef BOOLEANPARAMETERMEMENTO_H
#define	BOOLEANPARAMETERMEMENTO_H

#include "Memento.h"

namespace calculator {
    class UndoableRedoableCommand;

    class BooleanParameterMemento : public Memento {
        friend class ComplexParameterCommand;
        friend class InstantComputeParametersCommand;
        friend class IntegerDivisionParameterCommand;
        friend class KeyboardParameterCommand;
        friend class SaveOnExitCommand;
        
    public:
        BooleanParameterMemento(UndoableRedoableCommand* undoableRedoableCommand,
                bool boolean);
        virtual ~BooleanParameterMemento();
    private:
        bool _boolean;

        BooleanParameterMemento(const BooleanParameterMemento& orig);
    };
}
#endif	/* BOOLEANPARAMETERMEMENTO_H */

